package org.jwos.plugin.file.domain;

import java.util.Map;

import org.jwos.plugin.file.util.MapUtil;


public class MappableBean {
	
	protected MappableBean(){
	}
	
	public Map toMap() {
		return MapUtil.beanToMap(this);
	}
	
	public void fromMap(Map map) {
		MapUtil.mapToBean(this, map);
	}
}
